package com.xxbb.chapter_10;


import com.xxbb.chapter_10.login_frame.LoginFrame;
import com.xxbb.chapter_10.login_frame.LoginFrameTest;

import javax.swing.*;

public class Program {

    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(javax.swing.plaf.nimbus.NimbusLookAndFeel.class.getName());//皮肤

//            String lookAndFeel = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
//            UIManager.setLookAndFeel(lookAndFeel);

//            String lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
//            UIManager.setLookAndFeel(lookAndFeel);

//            LoginFrame loginFrame = new LoginFrame();
//            MainFrame mainFrame = new MainFrame();
//            mainFrame.show();

            LoginFrameTest loginFrame = new LoginFrameTest();

        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, e.getMessage());
        }

    }
}
